package top.hcode.hoj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.hcode.hoj.pojo.entity.user.Clazz;
import top.hcode.hoj.pojo.entity.user.Major;

import java.util.List;

@Mapper
@Repository
public interface ClazzMapper extends BaseMapper<Clazz> {

    @Select("select * from clazz where majorid =#{selectedId}")
    List<Clazz> getdeplists(String selectedId);
}
